package com.hdc.hdc.warehouseManage.config;

/**
 * redis key value config
 * @author gjy
 *
 * 2018年1月18日下午2:13:57
 */
public enum KVRedisConfig {

	/**
	 * 后台管理的hashkey
	 */
	
	MES_SHIRO_REDIS("mes-shiro-redis","shiro跟redis整合key"),
	SESSION_ATTRIBUTE_USER("userSession","保存在session的用户实体信息"),
	SESSION_ATTRIBUTE_USERNAME("userSessionName","保存在session的用户姓名"),
	SESSION_ATTRIBUTE_USERID("userSessionId","保存在session的用户实体ID")
	;

	String haskey;
	
	String explain;
	
	private KVRedisConfig(String haskey,String explain) {
		this.haskey = haskey;
		this.explain = explain;
	}

	public String getHaskey() {
		return haskey;
	}

	public void setHaskey(String haskey) {
		this.haskey = haskey;
	}

	public String getExplain() {
		return explain;
	}

	public void setExplain(String explain) {
		this.explain = explain;
	}
	
}
